<?php

use Illuminate\Routing\Router;
use Illuminate\Support\Facades\Route;
use Dcat\Admin\Admin;
use  App\Admin\Controllers\MenuController;

Admin::routes();

Route::group([
    'prefix'     => config('admin.route.prefix'),
    'namespace'  => config('admin.route.namespace'),
    'middleware' => config('admin.route.middleware'),
], function (Router $router) {

    $router->get('/', 'HomeController@index');
    $router->resource('/health', 'HealthController');
    $router->resource('VideoManagement', 'VideoController');
    $router->resource('doctor', 'DoctorController');
    $router->resource('drug', 'DrugController');
    $router->resource('menu', 'MenuController');
    $router->resource('medicine_order', 'MedicineOrderController');
    $router->resource('hospital', 'HospitalInformationController');
    $router->resource('package', 'HospitalPackageController');
    $router->resource('video', 'VideoController');
    $router->resource('inspection', 'InspectionController');
});
